<?php
/// In order to use this script freely
/// you must leave the following copyright
/// information in this file:
/// Copyright 2012 www.turningturnip.co.uk
/// All rights reserved.

include("connect.php");

$id = $_GET['id'];

$c_Z = mysql_query("SELECT * FROM mst_user WHERE id = '$id' ");
$r_Z = mysql_fetch_array($c_Z);
extract($r_Z);
?>

<form id="FormName" action="updated.php" method="post" name="FormName">
<table width="448" border="0" cellspacing="2" cellpadding="0">

<tr>
<td width="150" align="right"><label for="user_id">user_id</label></td>
<td><input name="user_id" maxlength="" type="text" value="<?php echo stripslashes($user_id) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="login_id">login_id</label></td>
<td><input name="login_id" maxlength="" type="text" value="<?php echo stripslashes($login_id) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="nama">nama</label></td>
<td><input name="nama" maxlength="" type="text" value="<?php echo stripslashes($nama) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="alamat">alamat</label></td>
<td><input name="alamat" maxlength="" type="text" value="<?php echo stripslashes($alamat) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="kota">kota</label></td>
<td><input name="kota" maxlength="" type="text" value="<?php echo stripslashes($kota) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="negara">negara</label></td>
<td><input name="negara" maxlength="" type="text" value="<?php echo stripslashes($negara) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="kode_pos">kode_pos</label></td>
<td><input name="kode_pos" maxlength="" type="text" value="<?php echo stripslashes($kode_pos) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="no_telp">no_telp</label></td>
<td><input name="no_telp" maxlength="" type="text" value="<?php echo stripslashes($no_telp) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="no_hp">no_hp</label></td>
<td><input name="no_hp" maxlength="" type="text" value="<?php echo stripslashes($no_hp) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="email">email</label></td>
<td><input name="email" maxlength="" type="text" value="<?php echo stripslashes($email) ?>"></td>
</tr>

<tr>
<td width="150" align="right"><label for="password">password</label></td>
<td><input name="password" maxlength="" type="text" value="<?php echo stripslashes($password) ?>"></td>
</tr>

<tr>
<td colspan="2" align="center">
<input name="" type="submit" value="Update">
<input name="id" type="hidden" value="<?php echo $id ?>">
</td>
</tr>

</table>
</form>